package com.wash.shoes.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zhengyunpeng
 * @since 2024-08-27
 */
@ApiModel(value = "店铺")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("os_shop")
public class ShopPo extends Model<ShopPo> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店的id")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "门店的名称")
    @TableField("shop_name")
    private String shopName;

    @ApiModelProperty(value = "清洗门店")
    @TableField("wash_shop")
    private String washShop;

    @ApiModelProperty(value = "门店的编码")
    @TableField("shop_code")
    private String shopCode;

    @ApiModelProperty(value = "授权实体的唯一标识,逗号分隔,mt专用")
    private String opBizCode;

    @ApiModelProperty(value = "开发者的Id")
    private String developerId;

    @ApiModelProperty(value = "省")
    private String provinces;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "县")
    private String country;

    @ApiModelProperty(value = "省名字")
    private String provincesName;

    @ApiModelProperty(value = "市名字")
    private String cityName;

    @ApiModelProperty(value = "县名字")
    private String countryName;

    @ApiModelProperty(value = "授权过期时间")
    private String authExpireDate;

    @ApiModelProperty(value = "详细地址")
    private String address;
    // 品牌id add by jjz 2025年8月10日 12:12:47 start
    @ApiModelProperty(value = "品牌Id")
    @TableField("brand_id")
    private String brandId;

    @ApiModelProperty(value = "抖音店铺poi信息")
    @TableField("poid")
    private String poId;

    // 品牌id 抖音店铺poid add by jjz 2025年8月10日 12:12:47 end
    @ApiModelProperty(value = "图片逗号分割")
    private String picture;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "状态0删除  1上架  2下架")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "扩展字段")
    private String extendInfo;

    @TableField(value = "create_by", fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建者")
    private String createBy;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否开启代理工厂清洗(寄到工厂清洗)")
    @TableField("is_laundry_factory")
    private String isLaundryFactory;

    @ApiModelProperty(value = "店铺是否开启二次分单(不同的商品类型寄到不同的地方)")
    @TableField("is_second_split_order")
    private String isSecondSplitOrder;

    @ApiModelProperty(value = "渠道: DY,MT,WEIXIN")
    @TableField("channel")
    private String channel;

}
